#ifndef NEWMAPDIALOG_H
#define NEWMAPDIALOG_H

#include <QDialog>
#include <QLineEdit>

namespace Ui {
class NewMapDialog;
}

class NewMapDialog : public QDialog
{
    Q_OBJECT

public:
    explicit NewMapDialog(QWidget *parent = nullptr);
    ~NewMapDialog();

signals:
    void sigNewMap(const QString& name, const QString& path);

public:
    void setupLayout();

public slots:
    void onChooseFolder();
    void onBtnOk();

private:
    QLineEdit* editMapName;
    QLineEdit* editPath;
private:
    Ui::NewMapDialog *ui;
};

#endif // NEWMAPDIALOG_H
